package com.ruoyi.personnelMatters.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class EmployeeStatusScanInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private int personEmpStatusChangeId;
    //用户id
    private Long userId;
    //员工姓名
    private String userName;
    //原先员工状态（0正常 1停用）
    private String oldEmpStatus;
    //修改后的员工状态（0正常 1停用）
    private String newEmpStatus;
    //创建日期
    private Date createTime;
    //生效日期
    private Date empStatusChangeEffectiveDate;
    //是否执行过
    private int executed;

    public int getPersonEmpStatusChangeId() {
        return personEmpStatusChangeId;
    }

    public void setPersonEmpStatusChangeId(int personEmpStatusChangeId) {
        this.personEmpStatusChangeId = personEmpStatusChangeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOldEmpStatus() {
        return oldEmpStatus;
    }

    public void setOldEmpStatus(String oldEmpStatus) {
        this.oldEmpStatus = oldEmpStatus;
    }

    public String getNewEmpStatus() {
        return newEmpStatus;
    }

    public void setNewEmpStatus(String newEmpStatus) {
        this.newEmpStatus = newEmpStatus;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEmpStatusChangeEffectiveDate() {
        return empStatusChangeEffectiveDate;
    }

    public void setEmpStatusChangeEffectiveDate(Date empStatusChangeEffectiveDate) {
        this.empStatusChangeEffectiveDate = empStatusChangeEffectiveDate;
    }

    public int getExecuted() {
        return executed;
    }

    public void setExecuted(int executed) {
        this.executed = executed;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "EmployeeStatusScanInfo{" +
                "personEmpStatusChangeId=" + personEmpStatusChangeId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", oldEmpStatus='" + oldEmpStatus + '\'' +
                ", newEmpStatus='" + newEmpStatus + '\'' +
                ", createTime=" + createTime +
                ", empStatusChangeEffectiveDate=" + empStatusChangeEffectiveDate +
                ", executed=" + executed +
                '}';
    }
}
